
export default defineNuxtRouteMiddleware((to, from) => {
  if (
    window?.navigator?.userAgent?.indexOf("MSIE") != -1 ||
    (window?.navigator?.userAgent?.indexOf("Trident") > -1 &&
      window?.navigator?.userAgent?.indexOf("rv:11.0") > -1)
  ) {
    window?.open("https://support.dmeng.net/upgrade-your-browser.html");
  }
});
